# -*- coding:utf-8 -*-
#! python3
#绘制三维双螺旋线
import numpy as np
import matplotlib.pyplot as plt
import mpl_toolkits.mplot3d
t=list(range(100,200))
r=[i*np.cos(60+i*360*5) for i in t]
theta=[i*np.sin(60+i*360*5) for i in t]
z=[50*i for i in t]
ax=plt.figure().add_subplot(111,projection ='3d')
ax.scatter(r,theta,z,c='rbrb'*25)
plt.show()
